body {
    margin: 0;
    padding: 0;
}

div#header {
    background-color: #2ABCB9;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    user-select: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
    z-index: 5;
}

div.header {
    width: 80%;
    height: 50px;
    margin: 0 auto;
    overflow: hidden;
    min-width: 700px;
    color: #fff;
}
div.header a{
    text-decoration: none;
}
/*logo*/
div.header > a > img {
    float: left;
    height: 50px;
    width: 120px;
    margin-right: 10px;
}

/*左侧导航条*/
div.header > ul.left_bar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    float: left;
}

div.header > ul.left_bar > li > a {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    text-align: center;
    cursor: pointer;
    width: 70px;
    color: #fff;
}

div.header > ul.left_bar > li:hover {
    background-color: #00d7c6;
}

/*右侧导航条*/
div.header > div.right_bar {
    float: right;
    margin-top: 10px;
    overflow: hidden;
}

/*搜索框*/
div.header > div.right_bar > .search {
    width: 220px;
    height: 30px;
    background-color: #fff;
    border-radius: 5px;
    float: right;
    position: relative;
    overflow: hidden;
}

div.header > div.right_bar > .search > #search {
    background: transparent;
    border: 0;
    outline: none;
    height: 100%;
    width: 100%;
    padding-left: 5px;
    color: #61687c;
}

div.header > div.right_bar > .search > .i_search {
    background-image: url("");
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: text;
    width: 20px;
    height: 20px;
    background-size: cover;
}

/*登录按钮*/
div.header > div.right_bar > .login_button {
    background-color: #fff;
    color: #00d7c6;
    font-weight: bold;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 10px;
    margin-left: 10px;
    cursor: pointer;
    float: right;
}

div.header > div.right_bar > .login_button:hover {
    background-color: #eee;
}

/*媒体查询*/
@media screen and (max-width: 1160px) {
    div.header > div.right_bar > .search {
        display: none;
    }
}
